<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="gov.cdc.epiinfo"
    android:versionCode="25"
    android:versionName="1.1.4" >

    <uses-sdk
        android:minSdkVersion="15"
        android:targetSdkVersion="21" />

    <permission
        android:name="gov.cdc.epiinfo.permission.MAPS_RECEIVE"
        android:protectionLevel="signature" />

    <uses-permission android:name="gov.cdc.epiinfo.permission.MAPS_RECEIVE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />

    <uses-feature android:name="android.hardware.camera" android:required="false" />
    <uses-feature
        android:glEsVersion="0x00020000"
        android:required="true" />

    <application
        android:allowBackup="false"
        android:icon="@drawable/launcher"
        android:label="Epi Info" >
        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />
        <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="AIzaSyAgZM9GWj2x9j6ZZGyAVo4FHvmaNyeOd3A" />

        <activity
            android:name="gov.cdc.epiinfo.MainActivity"
            android:label="@string/app_name"
            android:theme="@style/AppTheme">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity
            android:name="gov.cdc.epiinfo.Launcher"
            android:label="@string/app_name"
            android:noHistory="true">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />

                <data android:mimeType="text/xml" />
            </intent-filter>
        </activity>

        <activity
            android:name="gov.cdc.epiinfo.AppSettings"
            android:label="@string/menu_settings"
            android:theme="@style/AppTheme" />
        <activity
            android:name="gov.cdc.epiinfo.SplashScreen"
            android:label="@string/app_name"
            android:theme="@android:style/Theme.Black.NoTitleBar" />
        <activity
            android:name="gov.cdc.epiinfo.RecordList"
            android:label="Records"
            android:theme="@style/AppTheme"
            android:windowSoftInputMode="stateHidden" />
        <activity
            android:name="gov.cdc.epiinfo.RecordEditor"
            android:label="@string/record_viewer"
            android:theme="@style/AppTheme"
            android:windowSoftInputMode="stateHidden" />
        <activity
            android:name="gov.cdc.epiinfo.statcalc.StatCalcMain"
            android:label="StatCalc"
            android:theme="@style/AppTheme" >
        </activity>
        <activity
            android:name="gov.cdc.epiinfo.analysis.AnalysisMain"
            android:label="@string/analysis"
            android:theme="@style/AppTheme" >
        </activity>
        <activity
            android:name="gov.cdc.epiinfo.statcalc.ChiSquareActivity"
            android:label="StatCalc - Chi Square for Linear Trend"
            android:theme="@style/AppTheme"
            android:windowSoftInputMode="stateHidden" />
        <activity
            android:name="gov.cdc.epiinfo.statcalc.PoissonActivity"
            android:label="@string/statcalc_poisson_desc"
            android:theme="@style/AppTheme"
            android:windowSoftInputMode="stateHidden" />
        <activity
            android:name="gov.cdc.epiinfo.statcalc.BinomialActivity"
            android:label="@string/statcalc_binomial_desc"
            android:theme="@style/AppTheme"
            android:windowSoftInputMode="stateHidden" />
        <activity
            android:name="gov.cdc.epiinfo.statcalc.TwoByTwoActivity"
            android:label="StatCalc - 2x2 Tables"
            android:theme="@style/AppTheme"
            android:windowSoftInputMode="stateHidden" />
        <activity
            android:name="gov.cdc.epiinfo.statcalc.MatchedPairActivity"
            android:label="@string/statcalc_matched_desc"
            android:theme="@style/AppTheme"
            android:windowSoftInputMode="stateHidden" />
        <activity
            android:name="gov.cdc.epiinfo.statcalc.UnmatchedActivity"
            android:label="StatCalc - Unmatched Case-Control"
            android:theme="@style/AppTheme"
            android:windowSoftInputMode="stateHidden" />
        <activity
            android:name="gov.cdc.epiinfo.statcalc.PopulationSurveyActivity"
            android:label="StatCalc - Population Survey"
            android:theme="@style/AppTheme"
            android:windowSoftInputMode="stateHidden" />
        <activity
            android:name="gov.cdc.epiinfo.statcalc.CohortActivity"
            android:label="StatCalc - Cohort"
            android:theme="@style/AppTheme"
            android:windowSoftInputMode="stateHidden" />
        <activity
            android:name="gov.cdc.epiinfo.analysis.MapViewer"
            android:label="Map Viewer" />
        <activity
            android:name="gov.cdc.epiinfo.CameraPreview"
            android:label="Camera"
            android:screenOrientation="portrait" />
    </application>

</manifest>